net: mdio: Use mb() to be compatible for both ARM and PowerPC
authorAlison Wang <[email protected]>
Fri, 5 Sep 2014 05:52:37 +0000 (13:52 +0800)
committerYork Sun <[email protected]>
Mon, 8 Sep 2014 17:30:33 +0000 (10:30 -0700)
commitd2614ea0ffda9d7c0d049f0fa5b23ce390bcb7a8
treefc016e14fff7617735b71a52dd56cbf302ff460a
parent93f26f130eede8db0cb47afcaf66016987b91731
net: mdio: Use mb() to be compatible for both ARM and PowerPC

Use mb() instead of sync assembly instruction to be
compatible for both ARM and PowerPC.

Signed-off-by: Alison Wang <[email protected]>
drivers/net/fsl_mdio.c